package org.hikari.qqbot.client;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * created at 2024-12-17 09:56:45
 *
 * @author yinchao
 * @version 1.0
 **/
@Getter
@Setter
@ToString
public class LLR<T> {

    private String status;
    @SuppressWarnings("SpellCheckingInspection")
    private int retcode;
    private String message;
    private String wording;
    private T data;

    public boolean isOk() {
        return "ok".equalsIgnoreCase(status);
    }

}
